mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-23 23:25:06 +00:00
Merge pull request #3 from ebraminio/binary
Use CMAKE_BINARY_DIR instead CMAKE_SOURCE_DIR for setting build output directory
This commit is contained in:
commit
64d0afa487
@ -5,9 +5,9 @@ SET( SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src )
|
|||||||
SET( INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include )
|
SET( INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include )
|
||||||
SET( RC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/build )
|
SET( RC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/build )
|
||||||
|
|
||||||
SET( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib )
|
SET( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
|
||||||
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib )
|
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
|
||||||
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin )
|
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
|
||||||
|
|
||||||
OPTION( glew-cmake_BUILD_SHARED "Build the shared glew library" ON)
|
OPTION( glew-cmake_BUILD_SHARED "Build the shared glew library" ON)
|
||||||
OPTION( glew-cmake_BUILD_STATIC "Build the static glew library" ON)
|
OPTION( glew-cmake_BUILD_STATIC "Build the static glew library" ON)
|
||||||
|
Loading…
Reference in New Issue
Block a user