[devel] Ensure the CMAKE_LIBRARY_OUTPUT_DIRECTORY is set in CMakeLists.txt
(Clifford Yap)
This commit is contained in:
parent
9d824eb166
commit
e61e403d20
2
ANNOUNCE
2
ANNOUNCE
@ -63,6 +63,8 @@ Version 1.5.5beta05 [August 17, 2011]
|
|||||||
pngpriv.h (functions yet to be implemented).
|
pngpriv.h (functions yet to be implemented).
|
||||||
|
|
||||||
Version 1.5.5beta06 [August 17, 2011]
|
Version 1.5.5beta06 [August 17, 2011]
|
||||||
|
Ensure the CMAKE_LIBRARY_OUTPUT_DIRECTORY is set in CMakeLists.txt
|
||||||
|
(Clifford Yap)
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
2
CHANGES
2
CHANGES
@ -3547,6 +3547,8 @@ Version 1.5.5beta05 [August 17, 2011]
|
|||||||
pngpriv.h (functions yet to be implemented).
|
pngpriv.h (functions yet to be implemented).
|
||||||
|
|
||||||
Version 1.5.5beta06 [August 17, 2011]
|
Version 1.5.5beta06 [August 17, 2011]
|
||||||
|
Ensure the CMAKE_LIBRARY_OUTPUT_DIRECTORY is set in CMakeLists.txt
|
||||||
|
(Clifford Yap)
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
@ -213,6 +213,15 @@ if(PNG_TESTS AND PNG_SHARED)
|
|||||||
add_test(pngtest ./pngtest ${CMAKE_CURRENT_SOURCE_DIR}/pngtest.png)
|
add_test(pngtest ./pngtest ${CMAKE_CURRENT_SOURCE_DIR}/pngtest.png)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Ensure the CMAKE_LIBRARY_OUTPUT_DIRECTORY is set
|
||||||
|
IF(NOT CMAKE_LIBRARY_OUTPUT_DIRECTORY)
|
||||||
|
IF(WIN32)
|
||||||
|
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "bin")
|
||||||
|
ELSE(WIN32)
|
||||||
|
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "lib")
|
||||||
|
ENDIF(WIN32)
|
||||||
|
ENDIF(NOT CMAKE_LIBRARY_OUTPUT_DIRECTORY)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set a variable with CMake code which:
|
# Set a variable with CMake code which:
|
||||||
# Creates a symlink from src to dest (if possible) or alternatively
|
# Creates a symlink from src to dest (if possible) or alternatively
|
||||||
|
Loading…
Reference in New Issue
Block a user