fixes to cmake for macos

This commit is contained in:
Micah Acinapura
2020-10-13 06:06:26 -04:00
parent 26b9db81e6
commit b7c566089b
3 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ create_new_application(Sync MACOSX_BUNDLE
${CMAKE_CURRENT_SOURCE_DIR}/openspace.icns
)
target_link_libraries(Sync openspace-core)
target_link_libraries(Sync PUBLIC openspace-core)
# Web Browser and Web gui
# Why not put these in the module's path? Because they do not have access to the

View File

@@ -37,7 +37,7 @@ create_new_application(TaskRunner MACOSX_BUNDLE
${CMAKE_CURRENT_SOURCE_DIR}/openspace.icns
)
target_link_libraries(TaskRunner openspace-core)
target_link_libraries(TaskRunner PUBLIC openspace-core)
# Web Browser and Web gui
# Why not put these in the module's path? Because they do not have access to the

View File

@@ -77,7 +77,7 @@ function(run_cef_macosx_config CEF_ROOT module_path)
add_dependencies(${CEF_TARGET} libcef_dll_wrapper "${CEF_HELPER_TARGET}")
target_link_libraries(${CEF_TARGET} libcef_lib libcef_dll_wrapper ${CEF_STANDARD_LIBS})
target_link_libraries(${CEF_TARGET} PUBLIC libcef_lib libcef_dll_wrapper ${CEF_STANDARD_LIBS})
set_target_properties(${CEF_TARGET} PROPERTIES
RESOURCE "${WEBBROWSER_RESOURCES_SRCS}"
MACOSX_BUNDLE_INFO_PLIST ${module_path}/mac/Info.plist