# SET(WARNING_FLAGS "${WARNING_FLAGS} /wd${warning}")
# endforeach(warning)
- set(MSVC_FLAGS "-DWIN32 -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D__CRT_NONSTDC_NO_WARNINGS")
+ set(MSVC_FLAGS "-DWIN32 -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D__CRT_NONSTDC_NO_WARNINGS /wd4996")
endif(MSVC)
# assumed on Windows
SGQueue.hxx
SGThread.hxx)
-
-if (MSVC)
- install (FILES ${HEADERS} DESTINATION include/simgear/threads)
-else (MSVC)
- set(SOURCES SGThread.cxx)
- simgear_component(threads threads "${SOURCES}" "${HEADERS}")
-endif(MSVC)
+set(SOURCES SGThread.cxx)
+simgear_component(threads threads "${SOURCES}" "${HEADERS}")