Skip to content
Snippets Groups Projects
Commit 612308d0 authored by Lars Bilke's avatar Lars Bilke
Browse files

Fixed InfoLibs when BUILD_SHARED_LIBS=ON.

parent 746fd0c3
No related branches found
No related tags found
No related merge requests found
...@@ -8,4 +8,7 @@ foreach(lib Git CMake Test) ...@@ -8,4 +8,7 @@ foreach(lib Git CMake Test)
include(GenerateExportHeader) include(GenerateExportHeader)
generate_export_header(${lib}InfoLib) generate_export_header(${lib}InfoLib)
target_include_directories(${lib}InfoLib PUBLIC ${CMAKE_CURRENT_BINARY_DIR}) target_include_directories(${lib}InfoLib PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
if(BUILD_SHARED_LIBS)
install(TARGETS ${lib}InfoLib LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()
endforeach(lib) endforeach(lib)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment