mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Add local include and lib dirs only with static build
This commit is contained in:
parent
77b42b1d37
commit
98e29b56b7
@ -98,8 +98,10 @@ endif (MINGW)
|
||||
|
||||
# Dependencies
|
||||
|
||||
set (CMAKE_INCLUDE_PATH ${CMAKE_INSTALL_PREFIX}/include)
|
||||
set (CMAKE_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib)
|
||||
if ("${STATIC_BUILD}")
|
||||
set (CMAKE_INCLUDE_PATH ${CMAKE_INSTALL_PREFIX}/include)
|
||||
set (CMAKE_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib)
|
||||
endif ()
|
||||
|
||||
find_package (Intl REQUIRED)
|
||||
include_directories (${Intl_INCLUDE_DIRS})
|
||||
|
Loading…
x
Reference in New Issue
Block a user