WIP: Make include dir order look like Makefile build

This commit is contained in:
Brad King 2012-06-14 10:53:26 -04:00
parent 1d01691ebc
commit 2c45f0cb26
1 changed files with 4 additions and 4 deletions

View File

@ -56,21 +56,21 @@ if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
endif()
endif()
list(APPEND arch_path
sr_unix
sr_port
sr_unix_cm
sr_unix_gnp
sr_unix_cm
sr_unix
sr_port_cm
sr_port
)
set(GTM_BOOTSTRAP_FILES "${GTM_SOURCE_DIR}/fis-gtm-src-extras")
include_directories(${GTM_BOOTSTRAP_FILES}/pro/obj)
set(includes)
foreach(d ${arch_path})
list(APPEND includes ${GTM_SOURCE_DIR}/${d})
endforeach()
include_directories(${includes})
include_directories(${GTM_BOOTSTRAP_FILES}/pro/obj)
function(find_source src_var name)
set(found "")