Skip to content

Commit

Permalink
Simply endif(XXX) to endif()
Browse files Browse the repository at this point in the history
  • Loading branch information
bansan85 committed Jun 17, 2023
1 parent 3cbeb57 commit 8c13e89
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if(NOT BUILD_SHARED_LIBS)
# private.
target_compile_definitions(${PROJECT_NAME}
PUBLIC ${PROJECT_NAME}_STATIC_DEFINE)
endif(NOT BUILD_SHARED_LIBS)
endif()

# BUILD_INTERFACE will be the include folder when you build the library.

Expand Down
2 changes: 1 addition & 1 deletion library2/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ target_sources(
if(NOT BUILD_SHARED_LIBS)
target_compile_definitions(${PROJECT_NAME}
PUBLIC ${PROJECT_NAME}_STATIC_DEFINE)
endif(NOT BUILD_SHARED_LIBS)
endif()

target_include_directories(
${PROJECT_NAME}
Expand Down
2 changes: 1 addition & 1 deletion library3/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ target_sources(
if(NOT BUILD_SHARED_LIBS)
target_compile_definitions(${PROJECT_NAME}
PUBLIC ${PROJECT_NAME}_STATIC_DEFINE)
endif(NOT BUILD_SHARED_LIBS)
endif()

target_include_directories(
${PROJECT_NAME}
Expand Down
2 changes: 1 addition & 1 deletion library4/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ target_sources(
if(NOT BUILD_SHARED_LIBS)
target_compile_definitions(${PROJECT_NAME}
PUBLIC ${PROJECT_NAME}_STATIC_DEFINE)
endif(NOT BUILD_SHARED_LIBS)
endif()

target_include_directories(
${PROJECT_NAME}
Expand Down

0 comments on commit 8c13e89

Please sign in to comment.