File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1+ if (WIN32 )
2+ add_compile_definitions (_CRT_SECURE_NO_WARNINGS)
3+ endif ()
4+
15add_library (j)
26target_compile_definitions (j PRIVATE C_NA=0 C_AVX=1 C_AVX2=1 EMU_AVX=1)
3- target_compile_definitions (j PRIVATE $<$<PLATFORM_ID:Windows>:_CRT_SECURE_NO_WARNINGS>)
47target_link_libraries (j PRIVATE ${STANDARD_MATH_LIBRARY} )
58set_source_files_properties (aes-ni.c PROPERTIES COMPILE_FLAGS -maes)
69target_sources (j PRIVATE
@@ -220,7 +223,6 @@ endif()
220223
221224add_library (linenoise OBJECT EXCLUDE_FROM_ALL )
222225target_compile_definitions (linenoise INTERFACE USE_LINENOISE)
223- target_compile_definitions (linenoise PUBLIC $<$<PLATFORM_ID:Windows>:_CRT_SECURE_NO_WARNINGS>)
224226target_sources (linenoise PRIVATE
225227 linenoise.h
226228 linenoise.c
You can’t perform that action at this time.
0 commit comments