mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-02 12:17:46 +08:00
12 lines
429 B
CMake
Executable File
12 lines
429 B
CMake
Executable File
if (EXISTS "${CMAKE_SOURCE_DIR}/src/gui/widget/view.h" )
|
|
set(CDROID_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/gui)
|
|
else()
|
|
set(CDROID_INCLUDE_DIR ${CMAKE_BINARY_DIR}/include)
|
|
endif()
|
|
#message(FATAL_ERROR "CDROID_INCLUDE_DIR=${CDROID_INCLUDE_DIR}")
|
|
set(CDROID_INCLUDE_DIRS ${CDROID_INCLUDE_DIR})
|
|
set(CDROID_LIBRARY gui)
|
|
set(CDROID_LIBRARIES ${CDROID_LIBRARY})
|
|
set(CDROID_INCLUDE_DIRS ${CDROID_INCLUDE_DIR})
|
|
set(CDROID_FOUND TRUE)
|