Bug in CMakeLists.txt #37

Closed
Gregor Weiss wants to merge 0 commits from cmake/bug-fix into main
Collaborator

Currently, cmake throws

CMake Error at CMakeLists.txt:134 (if):
  if given arguments:

    "Release" "STREQUAL" "Release" "OR"

  Unknown arguments specified

from here

if("${CMAKE_BUILD_TYPE}" STREQUAL "Release" OR ${OMP})

Fix on would be

if("${CMAKE_BUILD_TYPE}" STREQUAL "Release" OR "${OMP}")
Currently, cmake throws ``` CMake Error at CMakeLists.txt:134 (if): if given arguments: "Release" "STREQUAL" "Release" "OR" Unknown arguments specified ``` from here https://code.hlrs.de/TOPIO/BigWhoop/src/commit/41ec39574f0f3bad53e645b863ec09390da6698d/CMakeLists.txt#L134 Fix on would be ``` if("${CMAKE_BUILD_TYPE}" STREQUAL "Release" OR "${OMP}") ```
Patrick Vogler was assigned by Gregor Weiss 2024-07-01 15:21:06 +00:00

The bug only shows up when not using the makefile wrapper. Seems like a sensible addition, however, the commit appears to not be signed. Could you recommit with a proper signature so I can merge the pull request?

The bug only shows up when not using the makefile wrapper. Seems like a sensible addition, however, the commit appears to not be signed. Could you recommit with a proper signature so I can merge the pull request?
Gregor Weiss force-pushed cmake/bug-fix from 08747698c7 to 1cebbd2d2c 2024-07-01 18:34:17 +00:00 Compare
Gregor Weiss closed this pull request 2024-07-02 08:00:39 +00:00
Gregor Weiss reopened this pull request 2024-07-02 08:02:34 +00:00
Patrick Vogler closed this pull request 2024-07-02 08:10:16 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TOPIO/BigWhoop#37
No description provided.