comparison extern/cppformat/CMakeLists.txt @ 138:ff26bd33a45d

CMake: improve VS2015 support, #425
author David Demelier <markand@malikania.fr>
date Thu, 19 May 2016 13:00:00 +0200
parents be4b9ed19a17
children 6635b9187d71
comparison
equal deleted inserted replaced
137:bc291b131f6a 138:ff26bd33a45d
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 # 17 #
18 18
19 cmake_minimum_required(VERSION 3.0) 19 cmake_minimum_required(VERSION 3.0)
20 project(cppformat) 20 project(cppformat)
21 add_library(cppformat STATIC format.cc format.h) 21 add_library(extern-cppformat STATIC format.cc format.h)
22 target_include_directories(cppformat PUBLIC ${cppformat_SOURCE_DIR}) 22 target_include_directories(extern-cppformat PUBLIC ${cppformat_SOURCE_DIR})
23 set_target_properties(
24 extern-cppformat
25 PROPERTIES
26 PROJECT_LABEL cppformat
27 FOLDER extern
28 )