]> git.mxchange.org Git - simgear.git/blobdiff - CMakeModules/SimGearComponent.cmake
hla: Add propper attribute dirty handling.
[simgear.git] / CMakeModules / SimGearComponent.cmake
index 5628e5a183711201b9f63f8dd83b09cafdd45501..1c11b855b9d61ccca8a86b813d5bbc568860459d 100644 (file)
@@ -16,9 +16,10 @@ macro(simgear_component_common name includePath sourcesList sources headers)
         set(libName "sg${name}")
         add_library(${libName} STATIC ${sources} ${headers})
 
-        install (TARGETS ${libName} ARCHIVE DESTINATION lib${LIB_SUFFIX})
-        install (FILES ${headers}  DESTINATION include/simgear/${includePath})
+        install (TARGETS ${libName} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
     endif()
+    
+    install (FILES ${headers}  DESTINATION include/simgear/${includePath})
 endmacro()
 
 function(simgear_component name includePath sources headers)