chore: switch to CMake build system instead of native Visual Studio project
This commit is contained in:
11
CMake/custom_import_yycc.cmake
Normal file
11
CMake/custom_import_yycc.cmake
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
# Check YYCC path environment variable
|
||||
if (NOT DEFINED YYCC_PATH)
|
||||
message(FATAL_ERROR "You must set YYCC_PATH variable to one of YYCC CMake distribution installation path.")
|
||||
endif()
|
||||
|
||||
# Find YYCC library
|
||||
# It will produce YYCC::YYCCommonplace target for including and linking.
|
||||
find_package(YYCCommonplace REQUIRED
|
||||
HINTS ${YYCC_PATH} NO_DEFAULT_PATH
|
||||
)
|
Reference in New Issue
Block a user