Fixed MacOS build
This commit is contained in:
parent
5139e9320a
commit
60754a83a2
2 changed files with 7 additions and 7 deletions
|
|
@ -153,10 +153,10 @@ endif (WIN32)
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
cmake_policy(SET CMP0167 OLD)
|
cmake_policy(SET CMP0167 OLD)
|
||||||
find_package(Boost REQUIRED COMPONENTS regex)
|
find_package(Boost REQUIRED COMPONENTS regex)
|
||||||
target_link_libraries(${RUNTIME_TARGET} PUBLIC Boost::regex)
|
target_link_libraries(${RUNTIME_TARGET} Boost::regex)
|
||||||
target_link_libraries(${ASSEMBLER_TARGET} PUBLIC Boost::regex)
|
target_link_libraries(${ASSEMBLER_TARGET} Boost::regex)
|
||||||
target_link_libraries(${TOOLS_TARGET} PUBLIC Boost::regex)
|
target_link_libraries(${TOOLS_TARGET} Boost::regex)
|
||||||
target_link_libraries(${DEBUGGER_TARGET} PUBLIC Boost::regex)
|
target_link_libraries(${DEBUGGER_TARGET} Boost::regex)
|
||||||
find_package(PkgConfig REQUIRED)
|
find_package(PkgConfig REQUIRED)
|
||||||
pkg_check_modules(SDL3 REQUIRED sdl3)
|
pkg_check_modules(SDL3 REQUIRED sdl3)
|
||||||
pkg_check_modules(SDL3_IMAGE REQUIRED sdl3-image)
|
pkg_check_modules(SDL3_IMAGE REQUIRED sdl3-image)
|
||||||
|
|
@ -171,7 +171,7 @@ if (APPLE)
|
||||||
${SDL3_IMAGE_LIBRARY_DIRS}
|
${SDL3_IMAGE_LIBRARY_DIRS}
|
||||||
${SDL3_TTF_LIBRARY_DIRS}
|
${SDL3_TTF_LIBRARY_DIRS}
|
||||||
)
|
)
|
||||||
target_link_libraries(${RUNTIME_TARGET} PUBLIC
|
target_link_libraries(${RUNTIME_TARGET}
|
||||||
${SDL3_LIBRARIES}
|
${SDL3_LIBRARIES}
|
||||||
${SDL3_IMAGE_LIBRARIES}
|
${SDL3_IMAGE_LIBRARIES}
|
||||||
${SDL3_TTF_LIBRARIES}
|
${SDL3_TTF_LIBRARIES}
|
||||||
|
|
@ -186,7 +186,7 @@ if (APPLE)
|
||||||
${SDL3_IMAGE_LIBRARY_DIRS}
|
${SDL3_IMAGE_LIBRARY_DIRS}
|
||||||
${SDL3_TTF_LIBRARY_DIRS}
|
${SDL3_TTF_LIBRARY_DIRS}
|
||||||
)
|
)
|
||||||
target_link_libraries(${DEBUGGER_TARGET} PUBLIC
|
target_link_libraries(${DEBUGGER_TARGET}
|
||||||
${SDL3_LIBRARIES}
|
${SDL3_LIBRARIES}
|
||||||
${SDL3_IMAGE_LIBRARIES}
|
${SDL3_IMAGE_LIBRARIES}
|
||||||
${SDL3_TTF_LIBRARIES}
|
${SDL3_TTF_LIBRARIES}
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
4
|
7
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue