From 61c8cfa07deb7625bb0e6b80dbceb42edd4bf387 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Wed, 10 Feb 2021 18:43:05 -0500 Subject: [PATCH] More trimming. --- singleheader/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/singleheader/CMakeLists.txt b/singleheader/CMakeLists.txt index e836fe6aa..57d5ea62b 100644 --- a/singleheader/CMakeLists.txt +++ b/singleheader/CMakeLists.txt @@ -127,10 +127,9 @@ if(NOT MSVC) endif() install(FILES simdjson.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - -add_library(simdjson-singleheader STATIC "") -target_link_libraries(simdjson-singleheader simdjson-singleheader-source simdjson-internal-flags) if(NOT MSVC) + add_library(simdjson-singleheader STATIC "") + target_link_libraries(simdjson-singleheader simdjson-singleheader-source simdjson-internal-flags) add_compile_only_test(simdjson-singleheader) endif()