mirror of
https://git.freebsd.org/ports.git
synced 2025-05-02 03:26:41 -04:00
28 lines
963 B
Text
28 lines
963 B
Text
--- CMakeLists.txt.orig 2023-05-15 13:42:41 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -162,6 +162,12 @@ message (STATUS "PROJECT_NAME = ${PROJECT_NAME}")
|
|
message (STATUS "BUILD_HOSTNAME = ${BUILD_HOSTNAME}")
|
|
message (STATUS "CMAKE_SYSTEM = ${CMAKE_SYSTEM}")
|
|
|
|
+# We need to be able to #include "file" from a few places,
|
|
+# * The original source dir
|
|
+# * The generated source dir
|
|
+include_directories(${CMAKE_CURRENT_BINARY_DIR}/src)
|
|
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
|
|
+
|
|
# Find POPT
|
|
find_package(POPT)
|
|
if (POPT_FOUND)
|
|
@@ -369,12 +375,6 @@ enable_testing()
|
|
|
|
# Create conf files
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/src/config.h)
|
|
-
|
|
-# We need to be able to #include "file" from a few places,
|
|
-# * The original source dir
|
|
-# * The generated source dir
|
|
-include_directories(${CMAKE_CURRENT_BINARY_DIR}/src)
|
|
-include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
|
|
|
|
|
|
########### next target ###############
|