Line 0
Link Here
|
|
|
1 |
--- CMakeLists.txt.orig 2019-11-01 17:45:34.100156000 -0400 |
2 |
+++ CMakeLists.txt 2019-11-01 17:46:14.856811000 -0400 |
3 |
@@ -158,6 +158,12 @@ |
4 |
message (STATUS "BUILD_HOSTNAME = ${BUILD_HOSTNAME}") |
5 |
message (STATUS "CMAKE_SYSTEM = ${CMAKE_SYSTEM}") |
6 |
|
7 |
+# We need to be able to #include "file" from a few places, |
8 |
+# * The original source dir |
9 |
+# * The generated source dir |
10 |
+include_directories(${CMAKE_CURRENT_BINARY_DIR}/src) |
11 |
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src) |
12 |
+ |
13 |
# Find POPT |
14 |
find_package(POPT) |
15 |
if (POPT_FOUND) |
16 |
@@ -314,12 +320,6 @@ |
17 |
|
18 |
# Create conf files |
19 |
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/config.h) |
20 |
- |
21 |
-# We need to be able to #include "file" from a few places, |
22 |
-# * The original source dir |
23 |
-# * The generated source dir |
24 |
-include_directories(${CMAKE_CURRENT_BINARY_DIR}/src) |
25 |
-include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src) |
26 |
|
27 |
|
28 |
########### next target ############### |