mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-19 19:39:30 -06:00
fixes to cmake for macos
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user