Skip to content

Commit a2805d3

Browse files
committed
Fix CMakeLists elseif syntax that was working only with old CMake
1 parent ae6e231 commit a2805d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ add_executable(SQLiteCpp_Example ${SOURCE_FILES})
1717
if(UNIX AND NOT APPLE)
1818
# Linux
1919
target_link_libraries(SQLiteCpp_Example SQLiteCpp sqlite3 pthread dl)
20-
else(UNIX AND APPLE)
20+
elseif(UNIX AND APPLE)
2121
# Mac OS
2222
target_link_libraries(SQLiteCpp_Example SQLiteCpp sqlite3 pthread)
2323
else()

0 commit comments

Comments
 (0)