summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenerateExportHeader/libshared
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-12 16:01:37 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-12 16:01:37 (GMT)
commiteae0a85d84fe12f058f8542aa4d05cfdf5c61cb1 (patch)
treebc1a0505749e4b2acca86cecf6addfd06895cdae /Tests/RunCMake/GenerateExportHeader/libshared
parent46ad7215979cd60c00589f6f0abdcff2856069e8 (diff)
downloadCMake-eae0a85d84fe12f058f8542aa4d05cfdf5c61cb1.zip
CMake-eae0a85d84fe12f058f8542aa4d05cfdf5c61cb1.tar.gz
CMake-eae0a85d84fe12f058f8542aa4d05cfdf5c61cb1.tar.bz2
Tests: Remove redundant code from RunCMake.GenerateExportHeader case
Drop extra `add_compiler_export_flags` calls from subdirectories because it is already called in the top-level directory before entering them.
Diffstat (limited to 'Tests/RunCMake/GenerateExportHeader/libshared')
-rw-r--r--Tests/RunCMake/GenerateExportHeader/libshared/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tests/RunCMake/GenerateExportHeader/libshared/CMakeLists.txt b/Tests/RunCMake/GenerateExportHeader/libshared/CMakeLists.txt
index c4a761c..9516a5a 100644
--- a/Tests/RunCMake/GenerateExportHeader/libshared/CMakeLists.txt
+++ b/Tests/RunCMake/GenerateExportHeader/libshared/CMakeLists.txt
@@ -1,7 +1,5 @@
include(GenerateExportHeader)
-add_compiler_export_flags()
-
set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_library(libshared SHARED libshared.cpp)