Skip to content
Snippets Groups Projects
Commit 166cb812 authored by Patrick Louis S Connor's avatar Patrick Louis S Connor
Browse files

explicitly linking to Darwin in CMake file, necessary to install on Mac OS X

parent 39d3ef57
No related branches found
No related tags found
1 merge request!218fixes necessary to install on Mac OS X (see...
...@@ -70,7 +70,8 @@ function(core_add_library) ...@@ -70,7 +70,8 @@ function(core_add_library)
set_target_properties(${target} PROPERTIES OUTPUT_NAME ${PROJECT_NAME}${modname}) set_target_properties(${target} PROPERTIES OUTPUT_NAME ${PROJECT_NAME}${modname})
target_include_directories(${target} PUBLIC "interface") target_include_directories(${target} PUBLIC "interface")
target_include_directories(${target} PRIVATE "src") target_include_directories(${target} PRIVATE "src")
target_link_libraries(${target} PUBLIC ${ARG_DEPENDS}) target_link_libraries(${target} PUBLIC Darwin::Darwin ${ARG_DEPENDS})
install(TARGETS ${target} install(TARGETS ${target}
RUNTIME DESTINATION "${CMAKE_INSTALL_LIBDIR}") RUNTIME DESTINATION "${CMAKE_INSTALL_LIBDIR}")
......
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