diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2019-09-25 16:53:38 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2019-09-25 16:55:36 +0300 |
commit | b651ac6531d9dbbdadfa432bc825fa5b515a523a (patch) | |
tree | 81ff44c30cb97716459dc6bf9b9e7d377d354a10 /extern/quadriflow/CMakeLists.txt | |
parent | f9ef0e1bdece674e40e219b896540fb8096c25a2 (diff) |
Removed auto generated config.h file from quadriflow
The config.h file is autogenerated during compile by a 3rd party library
quadriflow uses. Now we put this file in the build directory to avoid
adding this to the git repository in the future.
Diffstat (limited to 'extern/quadriflow/CMakeLists.txt')
-rw-r--r-- | extern/quadriflow/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extern/quadriflow/CMakeLists.txt b/extern/quadriflow/CMakeLists.txt index 488d95a48b9..3891079073e 100644 --- a/extern/quadriflow/CMakeLists.txt +++ b/extern/quadriflow/CMakeLists.txt @@ -39,9 +39,10 @@ set(LEMON_SOURCE_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/${LEMON_3RD_PATH}) set(LEMON_SRC ${LEMON_SOURCE_ROOT_DIR}/lemon) set(LEMON_INCLUDE_DIRS ${LEMON_SOURCE_ROOT_DIR}) +set(LEMON_GEN_DIR ${CMAKE_BINARY_DIR}/extern/quadriflow/${LEMON_3RD_PATH}) configure_file( ${LEMON_SRC}/config.h.in - ${LEMON_SRC}/config.h + ${LEMON_GEN_DIR}/lemon/config.h ) set(LEMON_SOURCES ${LEMON_SRC}/arg_parser.cc @@ -58,6 +59,7 @@ set(INC 3rd/pcg32 3rd/pss ${LEMON_INCLUDE_DIRS} + ${LEMON_GEN_DIR} ) set(INC_SYS |