mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
[build] [cmake] Fix OS X build.
This commit is contained in:
parent
d08f1d0dc1
commit
d14d82b57e
@ -220,7 +220,7 @@ if (NOT LINUX AND (CLANG OR IOS))
|
||||
set(LIB_iconv iconv)
|
||||
endif()
|
||||
|
||||
if (FREEBSD)
|
||||
if (FREEBSD OR APPLE)
|
||||
include_directories(/usr/local/include)
|
||||
link_directories(/usr/local/lib)
|
||||
endif()
|
||||
|
@ -617,7 +617,7 @@ set(gpre_boot_src
|
||||
if (NOT CMAKE_CROSSCOMPILING)
|
||||
|
||||
add_executable (gpre_boot ${gpre_boot_src} ${VERSION_RC})
|
||||
target_link_libraries (gpre_boot gpre_common common ${LIB_Ws2_32})
|
||||
target_link_libraries (gpre_boot gpre_common common ${LIB_iconv} ${LIB_Ws2_32})
|
||||
set_output_directory (gpre_boot . CURRENT_DIR)
|
||||
project_group (gpre_boot Boot)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user