From 725d1fd1e2995b1720673c280fea1125ac338b3c Mon Sep 17 00:00:00 2001 From: archshift Date: Fri, 18 Jul 2014 13:26:43 -0700 Subject: Subdirs: Only add_library if not using MSVC --- src/UI/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/UI') diff --git a/src/UI/CMakeLists.txt b/src/UI/CMakeLists.txt index c41123318..2b094ef1d 100644 --- a/src/UI/CMakeLists.txt +++ b/src/UI/CMakeLists.txt @@ -13,4 +13,6 @@ SET (HDRS Window.h WindowOwner.h) -add_library(UI ${SRCS} ${HDRS}) +if(NOT MSVC) + add_library(UI ${SRCS} ${HDRS}) +endif() -- cgit v1.2.3