Created
September 23, 2013 23:50
-
-
Save tyoc213/6678572 to your computer and use it in GitHub Desktop.
downloading and geting where build for debug and release are located?
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
ExternalProject_Add(project_glfw | |
URL https://github.com/glfw/glfw/archive/3.0.3.zip | |
LOG_DOWNLOAD 1 | |
LOG_UPDATE 1 | |
LOG_CONFIGURE 1 | |
LOG_BUILD 1 | |
LOG_TEST 1 | |
LOG_INSTALL 1 | |
) | |
ExternalProject_Get_Property(project_glfw install_dir) | |
include_directories(${install_dir}/src/project_glfw/include) | |
link_directories(${install_dir}/src/project_glfw/src/Debug) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just needed to add it as a dependency on the target, that will trigger the download, if not, nothing will happen alone.