feat: refactor to use gcc types
This commit is contained in:
10
cmake/modules/FindGCC_INCLUDES.cmake
Normal file
10
cmake/modules/FindGCC_INCLUDES.cmake
Normal file
@@ -0,0 +1,10 @@
|
||||
FIND_PATH(GCC_INCLUDES_INCLUDE_DIR cpuid.h
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include
|
||||
)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
# handle the QUIETLY and REQUIRED arguments and set APACHE_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
find_package_handle_standard_args(GCC_INCLUDES DEFAULT_MSG GCC_INCLUDES_INCLUDE_DIR )
|
||||
|
||||
MARK_AS_ADVANCED(GCC_INCLUDES_INCLUDE_DIR)
|
||||
Reference in New Issue
Block a user