mirror of
https://github.com/reactos/CMake.git
synced 2025-01-21 10:55:23 +00:00
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.
This commit is contained in:
parent
46ad721597
commit
eae0a85d84
@ -1,7 +1,5 @@
|
||||
include(GenerateExportHeader)
|
||||
|
||||
add_compiler_export_flags()
|
||||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
add_library(libshared SHARED libshared.cpp)
|
||||
|
@ -2,8 +2,6 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
include(GenerateExportHeader)
|
||||
|
||||
add_compiler_export_flags()
|
||||
|
||||
# Show that the export header has no effect on a static library.
|
||||
|
||||
add_library(libstatic STATIC libstatic.cpp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user