Skip to content

Commit 0bcc36a

Browse files
committed
Use qt_add_executable for unit tests
1 parent b758a73 commit 0bcc36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ApplicationLibCode/UnitTests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ endforeach()
156156
add_custom_target(PreBuildFileCopyTest ${copyCommands})
157157
set_property(TARGET PreBuildFileCopyTest PROPERTY FOLDER "FileCopyTargetsTest")
158158

159-
add_executable(ResInsight-tests ${SOURCE_UNITTEST_FILES} main.cpp)
159+
qt_add_executable(ResInsight-tests ${SOURCE_UNITTEST_FILES} main.cpp)
160160

161161
# Make ResInsight-tests depend on the prebuild target.
162162
add_dependencies(ResInsight-tests PreBuildFileCopyTest)

0 commit comments

Comments
 (0)