summaryrefslogtreecommitdiff
path: root/test/smp/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'test/smp/cmake')
-rw-r--r--test/smp/cmake/threadx_smp/CMakeLists.txt8
-rw-r--r--test/smp/cmake/threadx_smp/common_smp/CMakeLists.txt4
2 files changed, 6 insertions, 6 deletions
diff --git a/test/smp/cmake/threadx_smp/CMakeLists.txt b/test/smp/cmake/threadx_smp/CMakeLists.txt
index d142d790..f6596253 100644
--- a/test/smp/cmake/threadx_smp/CMakeLists.txt
+++ b/test/smp/cmake/threadx_smp/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
# Set up the project
project(threadx_smp
- VERSION 6.0.0
+ VERSION 6.0.0
LANGUAGES C ASM
)
@@ -37,10 +37,10 @@ if (NOT TX_USER_FILE)
set(TX_USER_FILE ${PROJECT_DIR}/common_smp/inc/tx_user_sample.h)
else()
message(STATUS "Using custom tx_user.h file from ${TX_USER_FILE}")
-endif()
+endif()
configure_file(${TX_USER_FILE} ${CUSTOM_INC_DIR}/tx_user.h COPYONLY)
-target_include_directories(${PROJECT_NAME}
- PUBLIC
+target_include_directories(${PROJECT_NAME}
+ PUBLIC
${CUSTOM_INC_DIR}
)
target_compile_definitions(${PROJECT_NAME} PUBLIC "TX_INCLUDE_USER_DEFINE_FILE" )
diff --git a/test/smp/cmake/threadx_smp/common_smp/CMakeLists.txt b/test/smp/cmake/threadx_smp/common_smp/CMakeLists.txt
index f7e35fde..646b200b 100644
--- a/test/smp/cmake/threadx_smp/common_smp/CMakeLists.txt
+++ b/test/smp/cmake/threadx_smp/common_smp/CMakeLists.txt
@@ -213,8 +213,8 @@ target_sources(${PROJECT_NAME}
)
# Add the Common/inc directory to the project include list
-target_include_directories(${PROJECT_NAME}
- PUBLIC
+target_include_directories(${PROJECT_NAME}
+ PUBLIC
${CURRENT_DIR}/inc
)