message: Minor stylistic changes
  Removed extra if-s
  Removed extra spaces
diff: #
  # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  -# Flags settings
  -if(UNIX)
  -
  - if(APPLE)
  - add_subdirectory(MacMSRDriver)
  - endif(APPLE)
  -
  -endif(UNIX)
  -
  -if(MSVC)
  - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /O2 /wd4251 /wd4273")
  - add_definitions(/W3)
  -endif(MSVC)
  -
  # All pcm-* executables
  set(PROJECT_NAMES pcm pcm-numa pcm-latency pcm-power pcm-msr pcm-memory pcm-tsx pcm-pcie pcm-core pcm-iio pcm-lspci pcm-pcicfg pcm-mmio pcm-raw)
  @@ -57,6 +43,7 @@ if(UNIX) # LINUX, FREE_BSD, APPLE
  $<$<CONFIG:RelWithDebInfo>:PCM_SILENT>
  )
  if(APPLE)
  + add_subdirectory(MacMSRDriver)
  include_directories("${CMAKE_SOURCE_DIR}/src/MacMSRDriver") # target_include_directories doesn't work
  target_link_libraries(PCM_SHARED PRIVATE PCM_STATIC_SILENT PcmMsr Threads::Threads)
  else()
  @@ -66,7 +53,9 @@ if(UNIX) # LINUX, FREE_BSD, APPLE
  endif()
  if(MSVC)
  - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHa /Zi")
  + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /O2 /wd4251 /wd4273 /EHa /Zi")
  + add_definitions(/W3)
  +
  # https://cmake.org/cmake/help/latest/prop_tgt/MSVC_RUNTIME_LIBRARY.html
  # windows/restrictDriverAccess.cpp is building separately
  add_library(restrictDriverAccess OBJECT windows/restrictDriverAccess.cpp)
  