summaryrefslogtreecommitdiff
path: root/src/components/policy/test/include.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/policy/test/include.cmake')
-rw-r--r--src/components/policy/test/include.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/policy/test/include.cmake b/src/components/policy/test/include.cmake
index 0474df54dc..fa9622e1cd 100644
--- a/src/components/policy/test/include.cmake
+++ b/src/components/policy/test/include.cmake
@@ -58,8 +58,14 @@ list(APPEND testSources
# ${POLICY_DIR}/test/shared_library_test.cc
)
+if (EXTENDED_POLICY_FLAG)
+ add_definitions(-DEXTENDED_POLICY)
+ include_directories(${POLICY_DIR}/src/policy/policy_table/table_struct_ext)
+ list (APPEND testSources ${POLICY_DIR}/test/sql_pt_ext_representation_test.cc)
+else ()
include_directories(${POLICY_DIR}/src/policy/policy_table/table_struct)
list (APPEND testSources ${POLICY_DIR}/test/sql_pt_representation_test.cc)
+endif ()
if (CMAKE_SYSTEM_NAME STREQUAL "QNX")
list(REMOVE_ITEM test_exec_libraries dl)