FreeBSD: Clang linker uses /usr/local/lib directory.
This commit is contained in:
parent
7041f32ce9
commit
e152fb65a8
|
@ -4,3 +4,9 @@ IF (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||||
SET (VALA_DEBUG "-g")
|
SET (VALA_DEBUG "-g")
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w") # supress Gcc warnings
|
SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w") # supress Gcc warnings
|
||||||
|
|
||||||
|
# FreeBSD: Clang linker uses '/usr/local/lib' directory
|
||||||
|
IF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||||
|
SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LIBRARY_C_FLAGS} -L/usr/local/lib")
|
||||||
|
SET (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L/usr/local/lib")
|
||||||
|
ENDIF ()
|
||||||
|
|
Loading…
Reference in New Issue