8
0
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:
egorpugin 2015-03-08 13:20:06 +00:00
parent d08f1d0dc1
commit d14d82b57e
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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)