You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
360 B
CMake
14 lines
360 B
CMake
6 years ago
|
# Autodetect editbin. Only useful for MSVC.
|
||
|
|
||
|
get_filename_component(MSVC_COMPILE_DIRECTORY ${CMAKE_CXX_COMPILER} DIRECTORY)
|
||
|
find_program(
|
||
|
EDITBIN_EXECUTABLE editbin.exe
|
||
|
HINTS ${MSVC_COMPILE_DIRECTORY}
|
||
|
)
|
||
|
|
||
|
include(FindPackageHandleStandardArgs)
|
||
|
find_package_handle_standard_args(Editbin
|
||
|
FOUND_VAR EDITBIN_FOUND
|
||
|
REQUIRED_VARS EDITBIN_EXECUTABLE
|
||
|
)
|