mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 21:49:33 +00:00
LaunchAPPL: Find libhfs header/library
This commit is contained in:
parent
280a1e4ac6
commit
f06c07d40d
@ -1,4 +1,6 @@
|
|||||||
find_package(Boost COMPONENTS filesystem program_options)
|
find_package(Boost COMPONENTS filesystem program_options)
|
||||||
|
find_path(HFS_INCLUDE_DIR NAMES hfs.h)
|
||||||
|
find_library(HFS_LIBRARY NAMES hfs)
|
||||||
|
|
||||||
set(LAUNCHMETHODS
|
set(LAUNCHMETHODS
|
||||||
Executor.h Executor.cc
|
Executor.h Executor.cc
|
||||||
@ -30,9 +32,8 @@ add_executable(LaunchAPPL
|
|||||||
|
|
||||||
${LAUNCHMETHODS})
|
${LAUNCHMETHODS})
|
||||||
|
|
||||||
|
target_include_directories(LaunchAPPL PRIVATE ${CMAKE_INSTALL_PREFIX}/include ${Boost_INCLUDE_DIR} ${HFS_INCLUDE_DIR})
|
||||||
target_include_directories(LaunchAPPL PRIVATE ${CMAKE_INSTALL_PREFIX}/include ${Boost_INCLUDE_DIR})
|
target_link_libraries(LaunchAPPL ResourceFiles LaunchAPPLCommon ${Boost_LIBRARIES} ${HFS_LIBRARY})
|
||||||
target_link_libraries(LaunchAPPL ResourceFiles LaunchAPPLCommon ${Boost_LIBRARIES})
|
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
find_library(APPLICATIONSERVICES_FW ApplicationServices)
|
find_library(APPLICATIONSERVICES_FW ApplicationServices)
|
||||||
|
Loading…
Reference in New Issue
Block a user