mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 11:22:45 +01:00
6582704b05
ExternalProject use is discouraged. - Most package build systems do not allow any fetching on configure/build stage - It's insecure the way it's used now, as it does not specify commit hash, so it may fetch whatever malicous code and it'll come unoticed
12 lines
263 B
CMake
12 lines
263 B
CMake
###### External Project: inih
|
|
include(ExternalProject)
|
|
|
|
SET(INIH_PREFIX_DIR ${PROJECT_SOURCE_DIR}/external/inih)
|
|
|
|
SET(INIH_SOURCES
|
|
${INIH_PREFIX_DIR}/ini.c)
|
|
add_library(inih
|
|
${INIH_SOURCES})
|
|
|
|
target_include_directories(inih INTERFACE SYSTEM ${INIH_PREFIX_DIR})
|