diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-06-25 13:46:35 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-06-25 13:46:35 +0100 |
commit | c56b9acc6abcae465b916f6ebafa3a282d1f36fc (patch) | |
tree | a4a0a04879c4b48f23eddc33fb58ba8396143dd7 /helpers/CMakeLists.txt | |
parent | e11baf1cb0a60855c975374890c497e3e5bbe4ab (diff) |
cmake: Refactor all convenience library generation into a function.
Diffstat (limited to 'helpers/CMakeLists.txt')
-rw-r--r-- | helpers/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/helpers/CMakeLists.txt b/helpers/CMakeLists.txt index 53a639fc..235ef36a 100644 --- a/helpers/CMakeLists.txt +++ b/helpers/CMakeLists.txt @@ -3,11 +3,7 @@ if (WIN32) - add_library (d3dhelpers STATIC + add_convenience_library (d3dhelpers d3dshader.cpp ) - set_target_properties (d3dhelpers PROPERTIES - # Ensure it can be statically linked in shared libraries - COMPILE_FLAGS "${CMAKE_SHARED_LIBRARY_CXX_FLAGS}" - ) endif () |