diff options
| author | 2019-07-28 02:49:48 +0200 | |
|---|---|---|
| committer | 2019-07-28 02:49:48 +0200 | |
| commit | f1a5dd3a90c8a363be9489f8f582a94d15bebc8f (patch) | |
| tree | d41a57bf1d9a56c392c7a694389ed197907f0e0c /tests | |
| parent | 61497d06b2ec5ba576dad92d008de3f4835000d5 (diff) | |
| download | OneRoll-f1a5dd3a90c8a363be9489f8f582a94d15bebc8f.tar.gz OneRoll-f1a5dd3a90c8a363be9489f8f582a94d15bebc8f.zip | |
Compile source instead of against lib
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/dice/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dice/CMakeLists.txt b/tests/dice/CMakeLists.txt index fef1a7b..d254624 100644 --- a/tests/dice/CMakeLists.txt +++ b/tests/dice/CMakeLists.txt @@ -4,9 +4,9 @@ find_package(Qt5Test REQUIRED) set(test_source testnode.cpp tst_dice.cpp) -add_executable(test_dice ${test_source} ) +add_executable(test_dice ${test_source} ${dice_sources}) target_include_directories(test_dice PRIVATE ../../include) -target_link_libraries(test_dice diceparser Qt5::Test) +target_link_libraries(test_dice Qt5::Test) add_test(tst_diceparser test_dice) |