Skip to content

Commit aa556bb

Browse files
committed
build on BUILD_PWAL=OFF
1 parent 5cdc34f commit aa556bb

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

test/CMakeLists.txt

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,17 +135,16 @@ else ()
135135
file (GLOB TEST_WITH_LIMESTONE_DOUBLE_SOURCES
136136
"test_double/*.cpp"
137137
)
138+
file (GLOB LIMESTONE_DOUBLE_SOURCES "test_double/doubles/limestone_double.cpp")
139+
add_library(limestone-double ${LIMESTONE_DOUBLE_SOURCES})
140+
target_link_libraries(limestone-double PRIVATE limestone)
141+
target_include_directories(limestone-double
142+
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
143+
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
144+
)
138145
endif()
139146
endif()
140147

141-
file (GLOB LIMESTONE_DOUBLE_SOURCES "test_double/doubles/limestone_double.cpp")
142-
add_library(limestone-double ${LIMESTONE_DOUBLE_SOURCES})
143-
target_link_libraries(limestone-double PRIVATE limestone)
144-
target_include_directories(limestone-double
145-
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
146-
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
147-
)
148-
149148
register_tests(
150149
TARGET shirakami
151150
DEPENDS

0 commit comments

Comments
 (0)