mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-22 15:53:51 +00:00
If we're in the build tree, we know where the source is
This commit is contained in:
parent
fb7805d875
commit
b67fb73fb4
1 changed files with 8 additions and 1 deletions
|
@ -11,10 +11,17 @@ IF(NOT TARGET FasTCBase)
|
|||
|
||||
FOREACH(LIB ${FasTC_LIBRARIES})
|
||||
STRING(REPLACE "FasTC" "" DIR "${LIB}")
|
||||
SET(CURRENT_DIR "${CMAKE_CURRENT_LIST_DIR}/${DIR}/include")
|
||||
|
||||
SET(CURRENT_DIR "@FasTC_SOURCE_DIR@/${DIR}/include")
|
||||
IF( EXISTS "${CURRENT_DIR}/" )
|
||||
SET(FasTC_INCLUDE_DIRS ${FasTC_INCLUDE_DIRS} ${CURRENT_DIR})
|
||||
ENDIF()
|
||||
|
||||
SET(CURRENT_DIR "@FasTC_BINARY_DIR@/${DIR}/include")
|
||||
IF( EXISTS "${CURRENT_DIR}/" )
|
||||
SET(FasTC_INCLUDE_DIRS ${FasTC_INCLUDE_DIRS} ${CURRENT_DIR})
|
||||
ENDIF()
|
||||
|
||||
ENDFOREACH()
|
||||
|
||||
SET(FasTC_EXECUTABLES tc compare decomp)
|
||||
|
|
Loading…
Reference in a new issue