mirror of
https://github.com/nlohmann/json
synced 2024-11-23 20:40:08 +00:00
🐛 fixed test compilation
This commit is contained in:
parent
77d6f70602
commit
1cfdc2a753
@ -71,9 +71,9 @@ json_unit: $(OBJECTS) ../src/json.hpp thirdparty/catch/catch.hpp
|
||||
# individual test cases
|
||||
##############################################################################
|
||||
|
||||
test-%: src/unit.o src/unit-%.o ../src/json.hpp thirdparty/catch/catch.hpp
|
||||
test-%: src/unit-%.o src/unit.o ../src/json.hpp thirdparty/catch/catch.hpp
|
||||
@echo "[CXXLD] $@"
|
||||
@$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -o $@
|
||||
@$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $< src/unit.o -o $@
|
||||
|
||||
TEST_PATTERN ?= "*"
|
||||
TEST_PREFIX = ""
|
||||
|
Loading…
Reference in New Issue
Block a user