Fix FreeBSD build issues.

This commit is contained in:
Ashley Mills 2014-12-16 15:47:47 -05:00 committed by Wayne Stambaugh
parent a5c5738559
commit bcbad9d3ec
2 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,7 @@ as such! As such, it is OK to use UTF8 characters:
// be mangled.
#define KIFACE_INSTANCE_NAME_AND_VERSION "KIFACE_1"
#if defined(__linux__)
#if defined(__linux__) || defined(__FreeBSD__)
#define LIB_ENV_VAR wxT( "LD_LIBRARY_PATH" )
#elif defined(__WXMAC__)
#define LIB_ENV_VAR wxT( "DYLD_LIBRARY_PATH" )

View File

@ -1,6 +1,7 @@
include_directories(
"${CMAKE_SOURCE_DIR}/lib_dxf"
"${CMAKE_SOURCE_DIR}/utils/idftools"
${OPENGL_INCLUDE_DIR}
)
link_directories(