@@ -55,20 +55,20 @@ target_compile_features(${CLP_FFI_PY_LIB_IR} PRIVATE cxx_std_20)
55
55
56
56
set (CLP_FFI_PY_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR} /src" )
57
57
set (CLP_FFI_PY_LIB_SRC_DIR "${CLP_FFI_PY_SRC_DIR} /clp_ffi_py" )
58
- set (CLP_CORE_ROOT "${CLP_FFI_PY_SRC_DIR} /clp/components/core" )
58
+ set (CLP_FFI_PY_CLP_CORE_DIR "${CLP_FFI_PY_SRC_DIR} /clp/components/core" )
59
59
60
- add_subdirectory (${CLP_CORE_ROOT } /src/clp/string_utils)
60
+ add_subdirectory (${CLP_FFI_PY_CLP_CORE_DIR } /src/clp/string_utils)
61
61
62
62
# NOTE: We don't add headers here since CLP core is technically a library we're using, not a part of
63
63
# this project.
64
64
set (CLP_FFI_PY_CLP_CORE_SOURCES
65
- ${CLP_CORE_ROOT } /src/clp/BufferReader.cpp
66
- ${CLP_CORE_ROOT } /src/clp/ffi/ir_stream/decoding_methods.cpp
67
- ${CLP_CORE_ROOT } /src/clp/ffi/ir_stream/encoding_methods.cpp
68
- ${CLP_CORE_ROOT } /src/clp/ffi/ir_stream/utils.cpp
69
- ${CLP_CORE_ROOT } /src/clp/ffi/encoding_methods.cpp
70
- ${CLP_CORE_ROOT } /src/clp/ir/parsing.cpp
71
- ${CLP_CORE_ROOT } /src/clp/ReaderInterface.cpp
65
+ ${CLP_FFI_PY_CLP_CORE_DIR } /src/clp/BufferReader.cpp
66
+ ${CLP_FFI_PY_CLP_CORE_DIR } /src/clp/ffi/ir_stream/decoding_methods.cpp
67
+ ${CLP_FFI_PY_CLP_CORE_DIR } /src/clp/ffi/ir_stream/encoding_methods.cpp
68
+ ${CLP_FFI_PY_CLP_CORE_DIR } /src/clp/ffi/ir_stream/utils.cpp
69
+ ${CLP_FFI_PY_CLP_CORE_DIR } /src/clp/ffi/encoding_methods.cpp
70
+ ${CLP_FFI_PY_CLP_CORE_DIR } /src/clp/ir/parsing.cpp
71
+ ${CLP_FFI_PY_CLP_CORE_DIR } /src/clp/ReaderInterface.cpp
72
72
)
73
73
74
74
# NOTE: We include headers to ensure IDEs like CLion load the project properly.
@@ -119,8 +119,8 @@ target_include_directories(
119
119
${CLP_FFI_PY_LIB_IR}
120
120
SYSTEM
121
121
PRIVATE
122
- ${CLP_CORE_ROOT } /src
123
- ${CLP_CORE_ROOT } /submodules
122
+ ${CLP_FFI_PY_CLP_CORE_DIR } /src
123
+ ${CLP_FFI_PY_CLP_CORE_DIR } /submodules
124
124
)
125
125
126
126
target_include_directories (${CLP_FFI_PY_LIB_IR} PRIVATE ${CLP_FFI_PY_SRC_DIR} )
0 commit comments