Created
February 4, 2016 02:55
-
-
Save nnarain/d1be0835b0a0b04db5cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set(ASIO_ROOT "asio/include") | |
set(ASIO_VERSION_ROOT "asio-${ASIO_VERSION}/include") | |
find_path(ASIO_INCLUDE_DIR | |
NAMES | |
asio.hpp | |
PATHS | |
/usr/include | |
/usr/include/${ASIO_ROOT} | |
/usr/include/${ASIO_VERSION_ROOT} | |
/usr/local/include | |
/usr/local/include/${ASIO_ROOT} | |
/usr/local/include/${ASIO_VERSION_ROOT} | |
C:/ | |
C:/${ASIO_ROOT} | |
C:/${ASIO_VERSION_ROOT} | |
) | |
include(FindPackageHandleStandardArgs) | |
find_package_handle_standard_args( | |
ASIO | |
DEFAULT_MSG | |
ASIO_INCLUDE_DIR | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment