]> git.mxchange.org Git - simgear.git/blobdiff - simgear/threads/CMakeLists.txt
Introduce "PRESERVE" flag to protect properties on sim reset.
[simgear.git] / simgear / threads / CMakeLists.txt
index 91fcdf248cc1071388ca30f4efcb8a9a3d710d99..9eb4d5407b3e2fe594ba8b362e5264e655502f2f 100644 (file)
@@ -5,6 +5,10 @@ set(HEADERS
     SGQueue.hxx
     SGThread.hxx)
 
-set(SOURCES SGThread.cxx)
 
-simgear_component(threads threads "${SOURCES}" "${HEADERS}")
\ No newline at end of file
+if (MSVC)
+  install (FILES ${HEADERS}  DESTINATION include/simgear/threads)
+else (MSVC)
+  set(SOURCES SGThread.cxx)
+  simgear_component(threads threads "${SOURCES}" "${HEADERS}")
+endif(MSVC)