Skip to content

Commit bbef51f

Browse files
committed
build: try to disable warnings for cr.h
1 parent 95c142a commit bbef51f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ if(ENTT_BUILD_LIB)
153153
if(NOT cr_POPULATED)
154154
FetchContent_Populate(cr)
155155
set(cr_INCLUDE_DIR ${cr_SOURCE_DIR})
156+
157+
if(NOT MSVC)
158+
set_source_files_properties(${cr_SOURCE_DIR}/cr.h PROPERTIES COMPILE_OPTIONS "-Wno-sign-conversion")
159+
endif()
156160
endif()
157161

158162
SETUP_LIB_SHARED_TEST(dispatcher shared)

0 commit comments

Comments
 (0)