diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2018-08-14 17:32:26 -0700 |
---|---|---|
committer | Mathias Preiner <mathias.preiner@gmail.com> | 2018-09-22 16:30:59 -0700 |
commit | 83cd63d83ea71cb8a04ffc5dd1f9c409b7451df6 (patch) | |
tree | 30b99c56d01a2806fa7d7f1378320d8de95a4a92 /src/parser/tptp | |
parent | 7023f79262f8fbab78163f4dd5778bd2c62bc2c1 (diff) |
cmake: Cleanup CMakeLists.txt files, remove SHARED.
Diffstat (limited to 'src/parser/tptp')
-rw-r--r-- | src/parser/tptp/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parser/tptp/CMakeLists.txt b/src/parser/tptp/CMakeLists.txt index 22593e7b2..aadd47a2a 100644 --- a/src/parser/tptp/CMakeLists.txt +++ b/src/parser/tptp/CMakeLists.txt @@ -21,7 +21,7 @@ add_custom_command( Tptp.g ) -add_library(parsertptp SHARED ${parser_tptp_src_files} ${parser_tptp_gen_src_files}) -set_target_properties(parsertptp PROPERTIES COMPILE_DEFINITIONS __BUILDING_CVC4PARSERLIB) +add_library(parsertptp ${parser_tptp_src_files} ${parser_tptp_gen_src_files}) +target_compile_definitions(parsertptp PRIVATE -D__BUILDING_CVC4PARSERLIB) set_source_files_properties(${parser_tptp_gen_src_files} PROPERTIES LANGUAGE CXX) -add_dependencies(parsertptp expr) +target_link_libraries(parsertptp expr) |