mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 02:25:39 +01:00
If we're in the build tree, we know where the source is
This commit is contained in:
parent
fb7805d875
commit
b67fb73fb4
@ -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 New Issue
Block a user